package cn.ecut.service;

import cn.ecut.model.Alumni;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AlumniService {
    int addAlumni(Alumni alumni);
    List<Alumni> selectAllAlumniByPage(int offset,int num);
    Integer selectAllcount();
    Integer uodataalumni(Alumni alumni);
    Integer slectCountByphone(String phone);
    Integer slectCountBymail(String mail);
    Integer deleteAlumni(Integer aid);
    List<Alumni> advanceSelect(@Param("s") String s, @Param("offset")int offset, @Param("num")int num);
    int advanceSelectCount(String s);
}
